package com.example.exam.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-03-28
 */
@TableName("exam.speciality")
public class Speciality implements Serializable {


    @TableId("`code`")
    private Integer code;

    private String speciality;

    private String stuclass;

    @TableField("`type`")
    private String type;

    private String path;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getSpeciality() {
        return speciality;
    }

    public void setSpeciality(String speciality) {
        this.speciality = speciality;
    }

    public String getStuclass() {
        return stuclass;
    }

    public void setClass(String stuclass) {
        this.stuclass = stuclass;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    @Override
    public String toString() {
        return "Speciality{" +
                "code=" + code +
                ", speciality=" + speciality +
                ", class=" + stuclass +
                ", type=" + type +
                ", path=" + path +
                "}";
    }
}
